/* Margin and padding reset */
* {
    margin:0;
    padding:0;
}

/* Global declarations */
body {
    font-family: Tahoma, Verdana, Arial, sans-serif;
    font-size:62.5%;
    position:relative;
}

img {
    border:0;
}

ul {
    list-style-type:none;
}

h1, h2, h3, h4, h5, h6 {
    clear:both;
    font-family:"Modata", Tahoma, Arial, sans-serif;
    font-weight:normal;
}

h1 {
    font-size:28px;
    margin-bottom:15px;
}

h2 {
    font-size:18px;
    margin-bottom:10px;
}

h3 {
    font-family: Tahoma, Arial, sans-serif;
}

p {
    font-size:13px;
    line-height:20px;
    margin-bottom:15px;
}

hr {
    clear:both;
    width:100%;
    height:1px;
    border:0;
    margin-bottom:20px;
    margin-top:10px;
}

fieldset {
    padding:20px;
    margin-bottom:15px;
}

fieldset legend {
    font-size:13px;
    padding:5px 10px 0;
}

fieldset p {
    margin-bottom:20px;
}

input, textarea, select, button {
    padding:5px;
    margin-right:10px;
}

select option {
    padding-right:15px;
}

textarea {
    display:block;
    width:500px;
    height: 160px;
}

label {
    display:inline-block;
    font-size:12px;
    width:120px;
}

a.button {
    position:relative;
    padding:3px 10px 3px 0px;
    text-decoration:none;
    width:auto;
    display:inline-block;
    margin-right:10px;
}

a.button span {
    float:left;
    position:relative;
    margin:2px 3px 0 3px;
}

input.sf {
    width:120px;
}

input.mf {
    width:240px;
}

input.lf {
    width:360px;
}

.field_desc {
    font-style:italic;
    font-size:11px;
    color:#555;
}

.validate_error {
    font-size:11px;
    color:#f00;
    font-style:italic;
}

.validate_success {
    font-size:11px;
    color:#739f1d;
    font-style:italic;
}

.inpcol {
    display:inline-block;
    padding: 0 30px 0 15px;
    margin-bottom:15px;
}

.inpcol p {
    margin-bottom:5px;
}

INPUT[type="checkbox"], INPUT[type="radio"] {
    margin:1px 6px 0 10px;
    padding: 0;
}

#container {
    min-width:960px;
    max-width:1600px;
    margin:0 auto;
}

#header {
    width:100%;
    height:130px;
}

#header #top {
    display:block;
    width:100%;
    height:83px;
}

#top .logo {
    float:left;
    display:inline;
    width:361px;
    padding-left: 15px;
}

#top .logo img {
    max-height: 75px;
}

#top .meta {
    display:inline;
    float:right;
    position:relative;
    padding-right:10px;
    margin-top:10px;
}

.meta p {
    text-align:right;
    margin-bottom:10px;
    margin-top:10px;
    color:#eee;
}

.meta ul {
    float:right;
}

.meta ul li {
    float:right;

}

.meta ul li .ui-icon {
    float:left;
}

.meta ul li a {
    float:left;
    margin:0 0 0 10px;
    font-size:10px;
    text-decoration:none;
}

.meta ul li a span {
    margin-top:-2px;
}

#header #search {
    float:right;
    display:block;
    position:relative;
    width:249px;
    right:5px;
    height:26px;
    margin-top:13px;
}

#search input {
    background:none;
    border:0;
    width:180px;
    padding:5px 10px 0 0;
    position:relative;
    font-size:12px;
    font-style:italic;
}

#search input.but {
    position:relative;
    float:left;
    width:24px!important;
    height:24px;
    margin-top:1px;
    padding:0!important;
}

#header #navbar {
    float:left;
    display:block;
}

#navbar ul.nav {
    display:inline-block;
    height:30px;
    margin-top:11px;
    position:relative;
    float:left;
}

ul.nav li {
    float:left;
    position:relative;
    height:30px;
    display:block;
}

ul.nav li a {
    color:#ccc;
    text-decoration:none;
    font-size:12px;
    padding:10px 20px 12px;
    display:block;
}

ul.nav ul {
    position:		absolute;
    top:			-999em;
    width:			10em; 
}

ul.nav ul li {
    border:0;
    padding:5px;
    width:130px;
    z-index:9999!important;
    height:auto;
}

ul.nav li:hover ul,
ul.nav li.sfHover ul {
    left:			0;
    top:			3.6em; /* match top ul list item height */
    z-index:		9999!important;
}

ul.nav li:hover li ul,
ul.nav li.sfHover li ul {
    top:			-999em;
}

ul.nav li li:hover ul,
ul.nav li li.sfHover ul {
    left:			14.0em; /* match ul width */
    top:			0;
}

ul.nav li li:hover li ul,
ul.nav li li.sfHover li ul {
    top:			-999em;
}

ul.nav li li li:hover ul,
ul.nav li li li.sfHover ul {
    left:			14.0em; /* match ul width */
    top:			0;
}


ul.nav li li {
    position:relative;
    z-index:9999!important;
}

ul.nav li li a {
    display:block;
    width:110px;
    font-size:12px;
    padding:5px 10px;
}


#bgwrap {
    float:left;
    position:relative;
    width:100%;
    margin-top: 2px;
}


#sidebar {
    float:left;
    width:240px;
    position:relative;
    padding:0 15px;
}

#sidebar h2 {
    margin-top:30px;
}

#sidebar p {
    margin-bottom:0;
}

#sidebar .sort {
    display:inline-block;
    width:234px;
}

.sort .portlet {
    width:100%;
}


#sidebar ul {
    width:240px;
    margin-bottom:30px;
}

#sidebar ul li {
    width:190px;
    padding:5px 25px;
}



#sidebar ul ul {
    width:190px;
    margin-bottom:0;
    margin-top:3px;
}

#sidebar ul li ul li {
    width:165px;
}

#sidebar ul li ul li ul li {
    width:140px;
}

#sidebar li.last, #sidebar li:last-child {
    border-bottom:0;
}

.closer_btn {
    top: 10px;
    right: 10px;
    border: solid #ddd 2px;
    background-color: #ccc;
    padding: 10px;
    border-radius: 16px;
    color: #fff;
    box-shadow: 1px 1px 2px #333;
    position: absolute;
    background-image: url('close_small_20.png');
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}

#sidebar-shower {
    position: fixed;
    width: 20px;
    height: 60px;
    background-color: #ccc;
    background-image: url('triangle_small_16.png');
    background-position: center;
    background-repeat: no-repeat;
    border: solid #999 2px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    top: 50%;
    left: -8px;
    cursor: pointer;
    display: none;
}

#sidebar-shower:hover {
    background-color: #aaa;
}

#content {
    float:right;
    width:100%;
    margin-left:-290px;
    position:relative;
    background:url('siderep0.png') 185px 0 repeat-y;
    padding-bottom:30px;
}

#content.hidden {
    background-repeat: no-repeat;
    margin-left: -10px;
}

#main {
    margin-left: 290px;
    margin-right: 10px;
    padding-top:30px;
    position:relative;
}

.pad20 {
    display:block;
    min-width:590px;
    max-width:1230px;
    padding:10px 20px;
}

#content ul.dash {
    float:left;
    display:block;
    margin-bottom:20px;
}

#footer {
    clear:both;
    float:left;
    width:100%;
    display:block;
    height:80px;
    position:relative;
}

ul.dash li {
    float:left;
    display:inline;
    margin:0 15px 15px 0;
}


ul.dash li a {
    display:block;
    width:106px;
    height:102px;
    text-decoration:none;
}

ul.dash li a img {
    display:inline;
    width:48px;
    margin-left:29px;
    margin-top:20px;
}

ul.dash li a span {
    display:block;
    width:100%;
    text-align:center;
    margin-top:10px;
    font-size:11px;
}

/* Tables */
table.fullwidth {
    width:100%;
    clear:both;
    font-size:13px;
    padding:1px;
    margin-bottom:10px;
}

table.normal {
    font-size:13px;
    padding:1px;
    margin-bottom:10px;
}

table.fullwidth thead, table.normal thead {
    height:28px;
    text-transform:uppercase;
    font-size:10px;
}

table.fullwidth thead th, table.normal thead th {
    padding: 6px;
    text-align: left;
}

table.fullwidth thead a, table.normal thead a {
    text-decoration: none;
    color: #f9f9f9;
}

table.fullwidth thead a:hover, table.normal thead a:hover {
    color: #ffd;
}

table.fullwidth td, table.normal td {
    padding:7px 9px;
    margin:1px 0;
}

table.fullwidth td.actions a {
    margin-right: 10px;
}

table.fullwidth tr.selected, table.normal tr.selected {
    background-color: #333;
}

table.fullwidth tr.selected td, table.normal tr.selected td {
    color: #fff;
    background-color: #333;
}

table.fullwidth tr.selected td a, table.normal tr.selected td a {
    /*color: #fff;*/
}

/* End of Tables */

#columns {
    display:block;
    width:100%;
}

#columns .cols2 {
    display:block;
    float:left;
    width:50%;
} 

#columns .cols3 {
    display:block;
    float:left;
    width:31%;
    padding:10px;
}

#columns .cols4 {
    display:block;
    float:left;
    width:25%;
}

.box {
    clear:both;
    float:left;
    width:90%;
}

/*NOTIFICATION MESSAGES*/
.message {
    display:block;
    padding:10px 20px;
    margin-bottom:15px;
}

.message p {
    width:auto;
    margin-bottom:0;
    margin-left:60px;
}

.message h2 {
    margin-left:60px;
    margin-bottom:5px;
}

.warning {
    background:#feffc8 url('warning_.png') 20px 50% no-repeat;
    border:1px solid #f1aa2d;
} 

.message p {
    color:#555;
}

.message h2 {
    color:#333;
}

.error {
    background:#fdcea4 url('stop_480.png') 20px 50% no-repeat;
    border:1px solid #c44509;
}

.success {
    background:#d4f684 url('tick_480.png') 20px 50% no-repeat;
    border:1px solid #739f1d;
}

.information {
    background:#c3e4fd url('info_480.png') 20px 50% no-repeat;
    border:1px solid #688fdc;
}

.message:hover {
    cursor:pointer;
}
/* end of notification messages */

.portlet {
    padding:2px;
    margin-bottom:15px;
}


.portlet-header {
    font-weight:normal!important;
    /*display:inline;*/
    padding:5px 5px 5px 10px;
}

.portlet-content {
    padding:10px;
}

.ui-sortable-placeholder {
    padding:0;
    visibility:visible!important;

}

.input_field {
    display:block;
    margin-bottom:10px;
}

/** FORMS  **/
form div.input {
    margin-bottom: 10px;
}

form div.input input[type=text] {
    min-width: 200px;
}

form .input .chzn-search input[type=text] {
    min-width: 150px;
}

/**** FLYOUT UI ***/
.flyout {
    background-color: #fff;
    padding: 5px;
    padding-bottom: 15px;
    position: fixed;
    right: 0px;
    top: 10px;
    bottom: 10px;
    width: 750px;
    min-width: 750px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border-left: solid #ddd 1px;
    border-top: solid #ddd 1px;
    border-bottom: solid #ddd 1px;
    z-index: 10;
    overflow: hidden;
    display: none;
    box-shadow: -2px 2px 4px #ccc;
}

.flyout > .content {
    padding: 10px;
    height: 100%;
    width: 96%;
    overflow: auto;
    margin-left: auto;
    margin-right: auto;
}

.flyout td {
    font-size: 11px;
}

.flyout form :invalid,
#general_dialog form :invalid {
	border: solid #900 2px !important;
}